package com.im.app.utils;

import com.im.app.model.User;
import com.im.app.utils.uuid.UUID;
import org.jim.core.cache.redis.JedisTemplate;


public class TokenUtils {

    private TokenUtils(){}
    private static TokenUtils instance = new TokenUtils();
    public static TokenUtils getInstance(){
        return instance;
    }
    public static String generateTokeCode(){
        return UUID.randomUUID().toString().replace("-","");
    }

    public static void main(String[] args) {
        String uuid = UUID.randomUUID().toString().replace("-","");
        System.out.println(uuid);
    }
}
